Skip to content

Conversation

@lunny
Copy link
Member

@lunny lunny commented Dec 10, 2024

This PR rewrites the compare functions to make the logic clearer and readable.

Carets compare has never been handled correctly. This PR will make it easier to be implemented in future PRs.

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Dec 10, 2024
@github-actions github-actions bot added the modifies/go Pull requests that update Go code label Dec 10, 2024
@github-actions github-actions bot added the modifies/api This PR adds API routes or modifies them label Dec 11, 2024
@lunny lunny changed the title Refactor GetDiff/Path functions to let it more flexible Refactor Compare functions and GetDiff/Path functions to let it more flexible Dec 12, 2024
@lunny lunny changed the title Refactor Compare functions and GetDiff/Path functions to let it more flexible Rewrite compare functions Dec 12, 2024
@lunny lunny mentioned this pull request Dec 17, 2024
@wxiaoguang wxiaoguang removed this from the 1.24.0 milestone Apr 13, 2025
@lunny lunny mentioned this pull request May 1, 2025
@lunny lunny added this to the 1.25.0 milestone May 1, 2025
@wxiaoguang wxiaoguang removed this from the 1.25.0 milestone Aug 29, 2025
@lunny lunny marked this pull request as draft September 30, 2025 00:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. modifies/api This PR adds API routes or modifies them modifies/go Pull requests that update Go code type/refactoring Existing code has been cleaned up. There should be no new functionality.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants